﻿using System.Text;

namespace _026_string;

public class StringBuilders
{
    public void Show()
    {
        StringBuilder sb = new StringBuilder(3);
        sb.Append("a");
        sb.Append("c");
        sb.Append("ddddd");

        Console.WriteLine("长度：" + sb.Length);
        Console.WriteLine("空间:" + sb.Capacity);

        sb.Insert(3, "abcd");
        

    }
}